package com.app.base.service.core.personnel.service;

import com.alibaba.fastjson.JSONObject;
import com.app.base.service.core.personnel.entity.PersonInfo;
import com.app.base.utlis.result.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 员工详情 服务类
 * @author yuhag
 * @since 2022-05-11
 */
public interface PersonInfoService extends IService<PersonInfo> {

    Result saveOrUpdatePersonInfo(String userId, PersonInfo personInfo);

    Result pagePersonInfo(Long current, Long pageSize, String startTime, String endTime, String name, Integer education, String expectedPosition, String reviewer, String graduationSchool);

    Result getPersonInfoById(String id);

    Result deletePerson(String userId, String description, String id);

    Result emailNotice(String content, String id);

    Result passTheInterview(JSONObject json, String id, String userId);

    Result pagePersonAdopt(Long current, Long pageSize);
}
